package com.operate.api.app.user.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@ApiModel(description = "接收参数")
@Data
@EqualsAndHashCode(callSuper = false)
public class AppUserLoginReqVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "手机号码",required = true)
    @NotNull(message = "手机号不能为空")
    private String userPhone;
    @NotNull(message = "密码不能为空")
    @ApiModelProperty(value = "密码",required = true)
    private String password;
}
